﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace WCF_CM
{
   
    public class Group : IGroup
    {
        public static string AddGroup(string gn, int gp, string gd, string gdis, string sgo)
        {
            string result = "";
               //  returns success or exception
            return result;
        }

        public static string UpdateGroup(int gid, string gn, int gp, string gd, string gdis, string sgo)
        {
            string result = "";
            // returns success or exception
            return result;
        }

        public static Group SearchGroupById(int gid)
        {
            Group g = new Group();
            return g; // returns a group
        }

        public static string DeleteGroupById(int gid)
        {
            string result = "";
            // returns success or exception
            return result;
        }

        public static string IsSubGroupOf(string gid)
        {
            string result = "";
            // 
            return result;
        }


    }
}
